//
// Created by hay boy on 2022/7/19.
//

#ifndef ALGORITHMS_EMPTYTREE_H
#define ALGORITHMS_EMPTYTREE_H
#include <exception>
#include <string>
using namespace std;
class emptyTree:public exception{
public:
    string error_mes;
    explicit emptyTree(){
        error_mes="tree empty error";
    }
    const char * what() const noexcept override{
        return error_mes.c_str();
    }
};
#endif //ALGORITHMS_EMPTYTREE_H
